package com.liuf.es.service;

import com.liuf.es.domain.Article;
import org.springframework.data.domain.Page;

import java.util.Optional;

/**
 * @author LIUFANG
 */
public interface IArticleService {

    Article save(Article article);

    Optional<Article> getByID(Long id);

    Page<Article> queryAll(Article article);
}
